import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import toast from 'components/common/toast'
import VueLazyLoad from 'vue-lazyload'
import FastClick from 'fastclick'

Vue.config.productionTip = false

Vue.prototype.$bus = new Vue()

Vue.use(ElementUI);
Vue.use(toast)
Vue.use(VueLazyLoad,{
    loading: require('./assets/img/common/placeholder.png')
})

FastClick.attach(document.body)
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
